package com.zmn.oms.model.dto.work.erp;

import com.zmn.oms.model.dto.work.OrderPartSettleSubjectInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author sunlife
 * @date:2020/9/15 11:25 上午
 * description:
 */
@Data
public class OrderAccountEngineerDTO implements Serializable {
    private static final long serialVersionUID = 4960651336279222977L;
    /**
     * 工程师id
     */
    private Integer engineerId;

    /**
     * 工程师名字
     */
    private String engineerName;

    /**
     * 是否主工程师
     */
    private Boolean majorEngineer;

    /**
     * 工程师收入分配比例
     */
    private BigDecimal shareRate;

    /**
     * 工程师内采现金购买的配件费
     */
    private Integer partAmount;

    /**
     * 工程师内采质保金购买配件费
     */
    private Integer partAmountFromSup;
    /**
     * 工程师的外报 + 运杂配件费
     */
    private Integer otherPartAmount;

    /**
     * 内采配件费明细
     */
    @ApiModelProperty("现金内采配件费明细")
    private List<OrderPartSettleSubjectInfo> cashInsourcingPartAmountList;

    /**
     * 外报配件费明细
     */
    @ApiModelProperty("外报配件费明细")
    private List<OrderPartSettleSubjectInfo> outsourcingPartAmountList;

    /**
     * 运杂费明细
     */
    @ApiModelProperty("运杂费明细")
    private List<OrderPartSettleSubjectInfo> otherPartAmountList;
}
